import numpy as np
import torch
import random
import math
import torch.nn.functional as F
import matplotlib.pyplot as plt

a = torch.tensor([1.5555, 1.4444, 1.45555, 1.54444, 1.65555])
print(a.long())  # 也就是说转换成long类型后会舍弃小数部分的值
